package com.gwcm.model.vo;

import com.gwcm.model.entity.UserMemberCard;
import com.gwcm.model.entity.UserRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户展示项")
public class UserVo {
    private Long id;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("账号")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("积分")
    private Long point;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("用户头像")
    private String headUrl;
    @ApiModelProperty("性别（0-未知，1-男，2-女)")
    private Integer sex;
    @ApiModelProperty("用户等级(1-6)")
    private Integer level;
    @ApiModelProperty("个人描述")
    private String description;
    @ApiModelProperty("个人会员信息")
    private UserMemberCardVo userMemberCardVo;
    @ApiModelProperty("个人角色信息")
    private UserRoleVo userRoleVo;

}
